package com.nf.mapper;

import com.nf.entity.Record;

import java.util.List;

public interface RecordMapper {
    //获取所有交易信息
    public List<Record> getAllRecordInfo();
    //根据卡号查询交易信息
    public Record  queryRecordInfoByrecordId(String recordId);
    //添加交易信息
    public  boolean addRecord(Record record);
    //修改交易信息
    public  boolean updateRecord(Record record);
    //删除交易信息
    public  boolean deleteRecord(Record record);
    //查询所有的转出的记录
    public List<Record> queryTransOutRecord(String recordId, java.sql.Date recordDay);
    //查询所有的转入的记录
    public List<Record> queryTransInRecord(String recordId, java.sql.Date recordDay);
    //查询所有的取款记录
    public List<Record> queryGetMoneyRecord(String recordId, java.sql.Date recordDay);
}
